<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        for (var i = 0; i < 100; i++) {
            if (i == 10) {
                console.log('continue 10');
                continue;
            }
            console.log(i);
        }

        var b = 0;
        while (b > 0) {
            b--;
            console.log(b);
        }

        do {
            b--;
            console.log(b);
        } while (b > 0)

    </script>

    <script>
        var num = 10;
        if (num > 10) {

        } else {

        }

        var b = 1;
        switch (b) {
            case 1:
                console.log(1);
                break;
            case 2:
                console.log(2);
                break;
            default: break;
        }
    </script>
</body>

</html>